{% extends 'base.html' %}
{% block title %}
    用户注册中心
{% endblock %}

{% block contents %}
    <span style="color: darkred">{{ msg }}</span>
    <form action="{{ url_for('users.register') }}" method="post">
     <p><input type="text" name="username" placeholder="用户名"></p>
     <p><input type="password" name="password" placeholder="密码"></p>
     <p><input type="password" name="repassword" placeholder="确认密码"></p>
     <p><input type="number" name="phone" placeholder="手机号"></p>
     <p><input type="submit" value="用户注册"></p>
    </form>
{%  endblock %}